extends _system
block content
	div.col-sm-9.col-sm-offset-3.col-md-10.col-md-offset-2.main#config
		h1.page-header #{title}
			div.btn-group.float-right(role="group")
				button.btn.btn-default.float-right(type="button" data-toggle="collapse" data-target="#filter_form" aria-expanded="false" aria-controls="collapseExample")
					span.glyphicon.glyphicon-filter(aria-hidden="true")
				button.reset-btn.btn.btn-default.float-right.search-btn(type="button")
					span.glyphicon.glyphicon-search(aria-hidden="true")
				button.save-btn.btn.btn-primary.create-btn(type="button")
					span.glyphicon.glyphicon-plus(aria-hidden="true")
		div.content
			div.panel
				div.collapse#filter_form
					form.search-form
						input.skip(type="hidden", name="skip")
						input.limit(type="hidden", name="limit")
						.form-group
							label 电话：
								input.form-control.phone(type="text", name="phone")
						.form-group
							label 姓名：
								input.form-control.name(type="text", name="name")
						.form-group
							label 审核：
							label
								input.approvals(type="radio", value="true", name="approvals")
								| 是
								input.approvals(type="radio", value="false", name="approvals")
								| 否
						.form-group
							label 性别：
								each sex in sexs
									label
										input.sexs(type="checkbox", value="#{sex}", name="sexs")
										| #{sex}
						.form-group
							label 身份证：
								input.form-control.name(type="text", name="idNum")
						.form-group
							label 银行帐号：
								input.form-control.bankId(type="text", name="bankId")
						.form-group
							label 开户银行名称：
								input.form-control.bankName(type="text", name="bankName")
						.form-group
							label 银行开户人：
								input.form-control.bankPerson(type="text", name="bankPerson")
						.form-group
							label 工种：
							each trades in config.trades
									label
										input.trades(type="checkbox", value="#{trades.name}", name="trades")
										| #{trades.name}
						.form-group
							label 籍贯：
							each hometown in config.provinces
									label
										input.hometown(type="checkbox", value="#{hometown}", name="hometown")
										| #{hometown}
						.form-group
							label 年龄范围：
							each ageLevel in config.ageLevel
									label
										input.ageLevel(type="checkbox", value="#{ageLevel}", name="ageLevel")
										| #{ageLevel}
						.form-group
							label 经验：
							each empiricLevel in config.empiricLevel
									label
										input.empiricLevel(type="checkbox", value="#{empiricLevel}", name="empiricLevel")
										| #{empiricLevel}
						.form-group
							label 学历：
							each eduLevel in config.eduLevel
									label
										input.eduLevel(type="checkbox", value="#{eduLevel}", name="eduLevel")
										| #{eduLevel}
		div#map(style="height:500px;")
	iframe#photoFrame.hidden-frame(name="photoFrame", input="photo", src="about:blank", hidden="hidden")
	iframe#idCardFrontFrame.hidden-frame(name="idCardFrontFrame", input="idCardFront", src="about:blank", hidden="hidden")
	iframe#idCardBackFrame.hidden-frame(name="idCardBackFrame", input="idCardBack", src="about:blank", hidden="hidden")
	script(type="text/javascript", src="http://api.map.baidu.com/api?v=2.0&ak=7GCFkxDRQDy9Uh9QZ7V7BWrI")
	script(type="text/javascript", src="/js/system/waiter_map.js")
